import 'package:flutter/material.dart';
import 'package:flutterdemo/common/calc.dart';
import 'package:flutterdemo/components/my_appbar.dart';
import 'package:flutterdemo/components/shop_cart.dart';


class History extends StatefulWidget {
  History({Key? key}) : super(key: key);

  @override
  _HistoryState createState() => _HistoryState();
}

class _HistoryState extends State<History> {
  @override
  Widget build(BuildContext context) {
    Calc.init(context);
    return Scaffold(
      backgroundColor: Color.fromRGBO(233, 233, 233, 1),
      appBar: MyAppBar().getAppBar("浏览历史"),
      body: ListView(
        physics: BouncingScrollPhysics(),
        padding: EdgeInsets.only(left: Calc.width(30),right: Calc.width(30),top:Calc.width(30) ),
        children: [
        ShopCart()
      ],),
    );
  }
}